<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>财务报表提交</title>
    <style>
        /* 基本页面样式 */
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f4f7fb; /* 背景颜色 */
            margin: 0;
            padding: 0;
            color: #333;
        }

        .container {
            width: 80%;
            margin: 20px auto;
        }

        /* Header 样式 */
        header {
            background-color: #283593; /* 蓝色背景 */
            padding: 20px 0;
            text-align: center;
            color: white;
        }

        .header-content h1 {
            font-size: 2.5em;
            margin: 0;
        }

        /* 表单部分 */
        #financial-form {
            background-color: #fff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        #financial-form h2 {
            font-size: 2em;
            margin-bottom: 20px;
            color: #283593;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-weight: bold;
            margin-bottom: 5px;
            color: #333;
        }

        .form-group input {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 1em;
            box-sizing: border-box;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus {
            border-color: #283593;
            outline: none;
        }

        /* 提交按钮 */
        .btn-submit {
            background-color: #283593;
            color: white;
            padding: 15px 30px;
            font-size: 1.2em;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .btn-submit:hover {
            background-color: #1c276c;
        }

        /* Footer 样式 */
        footer {
            background-color: #283593;
            color: white;
            padding: 20px;
            text-align: center;
        }

        footer p {
            margin: 0;
            font-size: 1em;
        }

    </style>
</head>
<body>
<header>
    <div class="header-content">
        <h1>提交财务报表</h1>
    </div>
</header>

<main class="container">
    <section id="financial-form">
        <h2>填写财务报表</h2>
        <form method="POST">
            {% csrf_token %}
            <div class="form-group">
                <label for="year">年度</label>
                <input type="number" name="year" id="year" required class="form-control" placeholder="请输入年度">
            </div>
            <div class="form-group">
                <label for="total_assets">总资产</label>
                <input type="number" name="total_assets" id="total_assets" required class="form-control"
                       placeholder="请输入总资产">
            </div>
            <div class="form-group">
                <label for="liabilities">负债</label>
                <input type="number" name="liabilities" id="liabilities" required class="form-control"
                       placeholder="请输入负债">
            </div>
            <div class="form-group">
                <label for="net_profit">净利润</label>
                <input type="number" name="net_profit" id="net_profit" required class="form-control"
                       placeholder="请输入净利润">
            </div>
            <button type="submit" class="btn-submit">提交报表</button>
        </form>
    </section>
</main>

<footer>
    <div class="footer-content">
        <p>&copy; 2024 企业财务健康评估系统</p>
    </div>
</footer>
</body>
</html>
